Skip to content

Release v0.2.0 — resume cap + auth docs#53

Merged
shahid-io merged 3 commits into
mainfrom
staging
Jul 1, 2026
Merged

Release v0.2.0 — resume cap + auth docs#53
shahid-io merged 3 commits into
mainfrom
staging

Conversation

@shahid-io

Copy link
Copy Markdown
Contributor

Release v0.2.0.

Added

  • Per-user resume limit (max 3). Enforced server-side in createResume (RLS-scoped count → ResumeLimitError); the hub shows the count (n/3), disables "+ new resume" at the cap, and shows a banner (including when a template create was blocked). Single constant MAX_RESUMES in db.ts.
  • docs/auth.md documenting the auth architecture: Supabase Auth + @supabase/ssr httpOnly cookies + getUser() server-side validation + Postgres RLS for authorization.

Verification

  • typecheck, lint, build pass. Limit UI verified in light + dark.

🤖 Generated with Claude Code

shahid-io and others added 3 commits July 1, 2026 15:26
Enforce a per-user resume limit (MAX_RESUMES = 3):
- createResume counts the user's rows (RLS-scoped) and throws ResumeLimitError
  at the cap, so the limit holds regardless of the caller.
- The create actions check the count first and, when at the cap, send the user
  back to the hub with a banner instead of erroring.
- The home hub shows the count (n/3), disables "+ new resume" at the cap, and
  shows an explanatory banner (also when a template "use" was blocked).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@shahid-io
shahid-io merged commit c8ce02f into main Jul 1, 2026
2 checks passed
@github-actions

github-actions Bot commented Jul 1, 2026

Copy link
Copy Markdown

🔍 Preview deployment ready: https://binarysemaphore-e8co3nxrv-shahidios-projects.vercel.app

Commit 3b13bf7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant